import request from '@/utils/request'

export function assetUserPut(data) {
  return request({
    url: '/standingbook/use',
    method: 'put',
    data
  }).then(res => {
    return res
  })
}

export function assetUserPage(data) {
  return request({
    url: '/standingbook/use/page',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetUserAdd(data) {
  return request({
    url: '/standingbook/use',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetUserDel(data) {
  return request({
    url: '/standingbook/use',
    method: 'delete',
    data
  }).then(res => {
    console.log(res)
    return res
  })
}

export function assetsImport(data) {
  return request({
    url: '/standingbook/use/import',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}

export function assetsExport(data) {
  return request({
    url: '/standingbook/use/export',
    method: 'post',
    data
  }).then(res => {
    return res
  })
}